package com.javasm.adminapi.module.activity.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 活动管理-促销活动申请(AmActivity)表实体类
 *
 * @author makejava
 * @since 2025-10-15 14:40:03
 */
@SuppressWarnings("serial")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AmActivity extends Model<AmActivity> {
//活动 ID
    @TableId(type = IdType.AUTO)
    private Integer id;
//活动名称
    private String activityName;
//开始时间
@DateTimeFormat(pattern = "yyyy-MM-dd")
//@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date activityBeginTime;
//结束时间
//@DateTimeFormat(pattern = "yyyy-MM-dd")
//@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date activityEndTime;
//活动类型
    private Integer activityType;

    //活动类型
    private Integer approveStatus;
//价格开始时间
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date priceBeginTime;
//价格结束时间
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date priceEndTime;
//活动原因
 //   private String activityReason;
//点评
    private String remark;



}
